
public class Person {
    public String name = "hhh";
    public int age = 18;
    public void func(){

    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public static void main(String[] args) {
        Person person = new Person();
        System.out.println(person);
    }
}
